/**
 * Created by liujinling on 2018/3/28.
 */
import React, {Component} from 'react';

const StateTag = ({text,color})=>{
  return (
    <div>
      <div style={{width:4,height:20,background:color,float:'left',display:'inline-block',}}/>
      <span>{text}</span>
    </div>
  )
};
export default StateTag;
